package com.candy.bean;

public class Test02 {
    public static void main(String[] args) {
//        对象创建 类型 对象名=new 类型（）；
        Student stu_01=new Student(20142565,"李四",true);
        stu_01.stuName="张三";
        stu_01.study();
        Student stu_02=new Student(202145454,"李四",false);
        Teacher teacher=new Teacher();
        teacher.teaName="马雪姣";
        stu_02.sayHi(teacher);
        String school= Student.stuSchool;
        System.out.println(school);
        Student.sayBye();

    }
}
